﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ywxt.ProjectJJ
{
    /// <summary>
    /// 项目奖金支取申请流程
    /// </summary>
    public class ProjectJJSQ : Entity
    {
        /// <summary>
        /// 所属项目
        /// </summary>
        public virtual IList<ywxt.t_project> Projects { get; set; }

        /// <summary>
        /// 申请用户
        /// </summary>
        public virtual ywxt.t_sys_user SQUser { get; set; }

        /// <summary>
        /// 申请标题
        /// </summary>
        public virtual string SQTitle { get; set; }

        /// <summary>
        /// 申请审核内容
        /// </summary>
        public virtual string sqContent { get; set; }

        /// <summary>
        /// 申请总收入
        /// </summary>
        public virtual decimal sqZSR { get; set; }

        /// <summary>
        /// 申请总支出
        /// </summary>
        public virtual decimal sqZZC { get; set; }

        /// <summary>
        /// 申请可支配收入
        /// </summary>
        public virtual decimal sqKZPSR { get; set; }

        /// <summary>
        /// 申请质量保证金
        /// </summary>
        public virtual decimal sqZLBZJ { get; set; }

        /// <summary>
        /// 申请协议分成
        /// </summary>
        public virtual decimal sqXYFC { get; set; }

        /// <summary>
        /// 申请奖金实发
        /// </summary>
        public virtual decimal sqJJSF { get; set; }

        /// <summary>
        /// 所属流程审批记录的ID
        /// </summary>
        public virtual string ApprovalRecordId { get; set; }

        /// <summary>
        /// 申请审批结束标志：
        /// 1：已完成；
        /// 0：未完成；
        /// </summary>
        public virtual int sqEndFlag { get; set; }

        /// <summary>
        /// 申请审批结束时间：
        /// </summary>
        public virtual DateTime sqEndDate { get; set; }

        /// <summary>
        /// 流程执行描述
        /// </summary>
        public virtual string ProcessDescribe { get; set; }

        public ProjectJJSQ()
        {
            Projects = new List<ywxt.t_project>();
        }
    }
}
